<?php

namespace App\Repositories\Entity\Assets;

use App\Models\Entity\Assets\Assets;
use App\Repositories\BaseRepository;

/**
 * Class AssetsRepository
 * @package App\Repositories\Entity\Assets
 * @version July 4, 2018, 5:19 pm CST
 *
 * @method Assets findWithoutFail($id, $columns = ['*'])
 * @method Assets find($id, $columns = ['*'])
 * @method Assets first($columns = ['*'])
*/
class AssetsRepository extends BaseRepository
{
    /**
     * @var array
     */
    protected $fieldSearchable = [
        'spassetkit_id',
        'title',
        'subtitle'
    ];

    /**
     * Configure the Model
     **/
    public function model()
    {
        return Assets::class;
    }
}
